﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Standard.aspx.cs" Inherits="Standard" Title="Untitled Page" %>

<%@ Register TagPrefix="uc" TagName="UpdateProgress" Src="~/UserControls/UpdateProgress.ascx" %>
<%@ Register TagPrefix="uc" TagName="UpdateProgress_InPage" Src="~/UserControls/UpdateProgress_InPage.ascx" %>
<%@ Register TagPrefix="uc" TagName="ModalPopupMessage" Src="~/UserControls/ModalPopupMessage.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">
    <uc:UpdateProgress ID="updateProgress" runat="server" />
    <asp:UpdatePanel ID="UpdatePanelModalPopupMessage" runat="server">
        <ContentTemplate>
            <uc:ModalPopupMessage ID="ModalPopupMessage" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <div style="margin-left: 0px; font-size: 12pt; font-weight: bold;">
        <asp:HyperLink ID="lnkGoBackToClassPage" runat="server">Go Back to Class</asp:HyperLink>
    </div>
    <br />
    <h1>
        <asp:Label ID="lblCourseTitle" runat="server" Text="" />
    </h1>
    <h2 style="margin-left: 20px;">
        <asp:Label ID="lblCourseSection" runat="server" Text="" />
    </h2>
    <br />
    <h3 style="margin-left: 40px;">
        <asp:Label ID="lblStandard" runat="server" Text="" />
    </h3>
    <div style="margin-left: 60px;">
            <b>Instructions: </b>Please read the introduction below and view any available learning objects. Once
            you have worked through all the learning objects, complete any assignments listed
            below. When done with this page, use the "Go Back to Class" link at the top of the
            page to continue with any other content on the class page.
        </div>
        <br />
    <div style="margin-left: 60px; min-width: 500px;">
        <asp:Panel ID="PanelIntroduction" runat="server">
            <h4>
                <asp:Label ID="lblIntroductionTitle" runat="server" Text="Introduction" />
            </h4>
            <div style="margin-left: 20px;">
                <asp:Label ID="lblIntroduction" runat="server" />
            </div>
            <br />
        </asp:Panel>
        <asp:Panel ID="PanelLearningObj" runat="server">
            <h4>
                Learning Objects
            </h4>
            <div style="margin-left: 10px; line-height: 150%;">
                <asp:Label ID="lblNoLearnObjs" runat="server" Visible="false" />
                <asp:Repeater ID="RepeaterLearningObjects" runat="server" OnItemDataBound="RepeaterLearningObjects_ItemDataBound">
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:HyperLink ID="lnkLearningObject" runat="server" />&nbsp;
                        <asp:Label ID="lblLearningObjectEstimatedTime" runat="server" Font-Size="Smaller" />
                    </ItemTemplate>
                    <SeparatorTemplate>
                        <br />
                    </SeparatorTemplate>
                </asp:Repeater>
            </div>
            <br />
        </asp:Panel>
        <asp:Panel ID="PanelAssignments" runat="server">
            <h4>
                Assignments
            </h4>
            <div style="margin-left: 10px;">
                <asp:Label ID="lblNoAssignment" runat="server" Visible="false" />
                <asp:Repeater ID="RepeaterAssignments" runat="server" OnItemDataBound="RepeaterAssignments_ItemDataBound">
                    <ItemTemplate>
                        <asp:HyperLink ID="lnkAssignment" runat="server" />
                        <br />
                        <div style="margin-left: 20px;">
                            <asp:Label ID="lblDueDate" runat="server" Font-Size="Smaller" />
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <br />
        </asp:Panel>
        <asp:Panel ID="PanelPastAssignments" runat="server" Visible="false">
            <h4>
                Past Assignments
            </h4>
            <div style="margin-left: 10px;">
                <asp:Repeater ID="RepeaterPastAssignments" runat="server" OnItemDataBound="RepeaterPastAssignments_ItemDataBound">
                    <ItemTemplate>
                        <asp:HyperLink ID="lnkAssignment" runat="server" />
                        <br />
                        <div style="margin-left: 20px;">
                            <asp:Label ID="lblDueDate" runat="server" Font-Size="Smaller" />
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <br />
        </asp:Panel>
    </div>
</asp:Content>
